<?php

namespace app\system\model\corp;

use app\system\model\Admin;
use app\system\model\business\Quotation;
use app\system\model\category\IndustryOld;
use app\system\model\User;
use think\Model;


class Supplier extends Model {
    /**
     * @var string 自动写入时间戳
     */
    protected $autoWriteTimestamp = true;

    public $append = [];

    public function category(){
        return $this->hasOne(IndustryOld::class, 'id', 'category_id');
    }


}